<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
    <head>
        <%@include file="../common/head.jspf" %>
    </head>

    <body class="fund-page sb-l-o sb-r-c" data-menu="#menu_fund" data-list="#li_fund">

        <!-- 主体内容开始 -->
        <div id="main">

            <!--侧边导航栏-->
            <%@include file="../common/sidebar.jspf" %>

            <!-- Start: Content-Wrapper -->
            <section id="content_wrapper">

                <!-- 顶部导航 -->
                <header id="topbar">
                    <div class="topbar-left">
                        <ol class="breadcrumb">
                            <li class="crumb-active">
                                <span>软擎科技</span>
                            </li>
                            <li class="crumb-icon">
                                <a href="dashboard"><span class="glyphicon glyphicon-home"></span></a>
                            </li>
                            <!-- 当前页 -->
                            <li class="crumb-trail">红包管理</li>
                        </ol>
                    </div>
                    <div class="topbar-right">
                        <!-- 登录信息 -->
                        <%@include file="../common/session.jspf" %>
                    </div>
                </header>
                <!-- 顶部导航结束 -->

                <!-- 页面内容开始 -->
                <section id="content">
                    <div class="btn-group ib mr10">
                        <a href="coupon/list" class="btn btn-primary light">红包管理</a>
                        <a href="coupon/review" class="btn btn-default light">红包兑现</a>
                    </div>
                    <a href="coupon/add" class="btn btn-system light pull-right"><span class="glyphicons glyphicons-magic mr10"></span>创建红包</a>

                    <hr class="br-light mt10 mb10">

                    <!--投标记录-->
                    <div class="panel-body pn">
                        <table class="table table-striped table-text-center" id="couponList" cellspacing="0" width="100%">
                            <thead>
                                <tr>
                                    <th>红包名称</th>
                                    <th>红包类型</th>
                                    <th>红包金额</th>
                                    <th>创建人</th>
                                    <th>生效时间</th>
                                    <th>过期时间</th>
                                    <th></th>
                                </tr>
                            </thead>
                            <tbody id="tbody"></tbody>
                        </table>
                    </div>
                </section>
                <!-- 页面内容结束 -->

            </section>
        </div>

        <%@include file="../loan/modal/processing.jspf" %>

        <!--操作菜单模板-->
        <div id="operationHTML" class="hidden">
            <div class="btn-group">
                <button type="button" class="btn btn-primary btn-xs dropdown-toggle" data-toggle="dropdown" aria-expanded="true"><i class="glyphicon glyphicon-wrench mr5"></i>操作
                    <span class="caret ml5"></span>
                </button>
                <ul class="dropdown-menu pull-right" role="menu">
                    <li class="detailLink">
                        <a href="coupon/detail/#id"><span class="glyphicons glyphicons-sheriffs_star fs12 mr5"></span>查看详情</a>
                    </li>
                    <li class="editLink">
                        <a href="coupon/edit/#id"><span class="glyphicons glyphicons-edit mr5"></span>红包编辑</a>
                    </li>
                </ul>
            </div>
        </div>

        <%@include file="../common/scripts.jspf" %>
        <script src="${rootPath}/js/admin-tools/admin-forms/js/jquery-ui-timepicker.min.js"></script>
        <script src="${rootPath}/js/admin-tools/admin-forms/js/lang/jquery-ui-timepicker-zh.js"></script>
        <script type="text/javascript" src="${rootPath}/js/pages/coupon/list.js"></script>
    </body>
</html>
